home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / sptts2.z / sptts2
Encoding:
Text File  |  2002-10-03  |  3.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSPPPPTTTTTTTTSSSS2222((((3333SSSS))))                                                          SSSSPPPPTTTTTTTTSSSS2222((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SPTTS2 - solve a tridiagonal system of the form A * X = B using the
  10.      L*D*L' factorization of A computed by SPTTRF
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE SPTTS2( N, NRHS, D, E, B, LDB )
  14.  
  15.          INTEGER        LDB, N, NRHS
  16.  
  17.          REAL           B( LDB, * ), D( * ), E( * )
  18.  
  19. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  20.      These routines are part of the SCSL Scientific Library and can be loaded
  21.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  22.      directs the linker to use the multi-processor version of the library.
  23.  
  24.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  25.      4 bytes (32 bits). Another version of SCSL is available in which integers
  26.      are 8 bytes (64 bits).  This version allows the user access to larger
  27.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  28.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  29.      only one of the two versions; 4-byte integer and 8-byte integer library
  30.      calls cannot be mixed.
  31.  
  32. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  33.      SPTTS2 solves a tridiagonal system of the form A * X = B using the L*D*L'
  34.      factorization of A computed by SPTTRF. D is a diagonal matrix specified
  35.      in the vector D, L is a unit bidiagonal matrix whose subdiagonal is
  36.      specified in the vector E, and X and B are N by NRHS matrices.
  37.  
  38.  
  39. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  40.      N       (input) INTEGER
  41.              The order of the tridiagonal matrix A.  N >= 0.
  42.  
  43.      NRHS    (input) INTEGER
  44.              The number of right hand sides, i.e., the number of columns of
  45.              the matrix B.  NRHS >= 0.
  46.  
  47.      D       (input) REAL array, dimension (N)
  48.              The n diagonal elements of the diagonal matrix D from the L*D*L'
  49.              factorization of A.
  50.  
  51.      E       (input) REAL array, dimension (N-1)
  52.              The (n-1) subdiagonal elements of the unit bidiagonal factor L
  53.              from the L*D*L' factorization of A.  E can also be regarded as
  54.              the superdiagonal of the unit bidiagonal factor U from the
  55.              factorization A = U'*D*U.
  56.  
  57.      B       (input/output) REAL array, dimension (LDB,NRHS)
  58.              On entry, the right hand side vectors B for the system of linear
  59.              equations.  On exit, the solution vectors, X.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSPPPPTTTTTTTTSSSS2222((((3333SSSS))))                                                          SSSSPPPPTTTTTTTTSSSS2222((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      LDB     (input) INTEGER
  75.              The leading dimension of the array B.  LDB >= max(1,N).
  76.  
  77. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  78.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  79.  
  80.      This man page is available only online.
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.